package com.czmh.etc.onlinepubsys.feign.newrun.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.alibaba.fastjson.JSON;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class EtcApplyRecordVO {
    @ApiModelProperty(name = "userId", value = "用户Id")
    private String userId;
    @ApiModelProperty(name = "licencePlate", value = "车牌号")
    private String licencePlate;


    @ApiModelProperty(name = "bankNo", value = "银行卡号")
    private String bankNo;

    @ApiModelProperty(name = "status",
            value = "云南/贵州: 1-填写银行卡,  2-填写收货地址, 3-待支付, 4-订单创建失败, 5-订单待提交, 6-退款中, 7-已退款,  8-已完成, 10-待审核, 20-待收货, 30-待安装,  40-待激活, 50-激活完成, 60-审核不通过;\n" +
                    "广东: 5-待审核, 8-已完成, 10-待审核, 60-审核不通过")
    private String status;

    @ApiModelProperty(name = "applyId", value = " 申请人id")
    private String applyId;

    @ApiModelProperty(name = "depositStatus", value = "押金状态(0-已支付,1-已退还,2-退还中)")
    private String depositStatus;

    @ApiModelProperty(name = "failReason", value = "申请失败原因")
    private String failReason;

    @ApiModelProperty(name = "applyInfoName", value = "申请人姓名")
    private String applyInfoName;

    @ApiModelProperty(name = "channel", value = "渠道来源 1:贵州 2云南")
    private String channel;

    @ApiModelProperty(name = "channel", value = "渠道来源 1:贵州 2云南")
    private String code;

    @ApiModelProperty(name = "cardName", value = "卡类别名称")
    private String cardName;

    @ApiModelProperty("快递公司，如SF表示顺丰，STO表示申通")
    private String expCompany;

    @ApiModelProperty("快递公司编码")
    private String expCompanyCode;

    @ApiModelProperty("快递公司名称，如：顺丰，申通")
    private String expCompanyName;

    @ApiModelProperty("快递单号")
    private String expOrderNo;

    @ApiModelProperty("收件人")
    private String shippingName;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
